<%@ page import="com.google.appengine.api.blobstore.BlobstoreServiceFactory" %>
<%@ page import="com.google.appengine.api.blobstore.BlobstoreService" %>

<%
    BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService();
%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%= request.getQueryString() %>
<form action="<%=blobstoreService.createUploadUrl("/admin/newfeed?"+request.getQueryString()) %> " method="post" enctype="multipart/form-data">
<table border="1">
<tr>
<td><label>Content</label></td><td><input type="text" name="Content"/></td>
</tr>
<tr>
<td><label>Image</label></td><td><input type="file" name="Image_Url"/></td>
</tr>
<tr>
<td><label>lat</label></td><td><input type="text" name="lat"/></td>
</tr>
<tr>
<td><label>log</label></td><td><input type="text" name="log"/></td>
</tr>
<tr>
<td><label>Address</label></td><td><input type="text" name="Address"/></td>
</tr>
<tr>
<td><label>DatePost</label></td><td><input type="text" name="DatePost"/></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="Save"></td>
</tr>
</table>
</form>
</body>
</html>